package com.woniuxy.coachmodel.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class CoachLoginByAccountPassForm {

    @NotBlank(message = "账号不能为空")
    @Size(min = 6, max = 20, message = "账号长度必须在6到20之间")
    private String coachAccount;

    @NotBlank(message = "密码不能为空")
    @Size(min = 6, max = 20, message = "密码长度必须在6到20之间")
    private String coachPass;

}
